﻿namespace Service.Framework.ApplicationEventBus
{
    public interface IApplicationEventHandler<TEvent> where TEvent : IApplicationEventArgs
    {
        /// <summary>
        ///  事件处理
        /// </summary>
        /// <param name="event">事件管道传递参数</param>
        /// <returns></returns>
        Task Handle(TEvent @event);

    }
}
